<template>
  <view>
    <view @click="callphone">是否拨打电话</view>
    <map class="map" :longitude="longitude" :latitude="latitude" :markers="markers"></map>
  </view>
</template>

<script>
export default {
  data(){
    return{
      longitude:121.564981,
      latitude:29.82369,
      markers:[{
        longitude:121.564981,
        latitude:29.82369,
        iconPath:"../../static/logo.png"
      }]
    }
  },
  methods:{
    callphone(){
      uni.makePhoneCall({
        phoneNumber:'13735196237'
      })
    }
  }
}
</script>
<style lang="scss">
.map{
  width: 750rpx;
  height: 750rpx;
}
</style>